Scheduler for WinRT
Contains(Int32) Method


The zero-based index of the item to locate.
Check if collection contains an item with specified index.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal index As Integer _
) As Boolean
'Usage
 
Dim instance As BaseCollection(Of T)
Dim index As Integer
Dim value As Boolean
 
value = instance.Contains(index)
public bool Contains( 
   int index
)

Parameters

index
The zero-based index of the item to locate.

Return Value

True if the item is found in the collection; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseCollection<T> Class
BaseCollection<T> Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.